Skip to content

docs: add .claude and .cursor AI assistant configurations#37

Merged
GhomKrosmonaute merged 3 commits into
masterfrom
claude/zen-booth-82883f
May 14, 2026
Merged

docs: add .claude and .cursor AI assistant configurations#37
GhomKrosmonaute merged 3 commits into
masterfrom
claude/zen-booth-82883f

Conversation

@GhomKrosmonaute
Copy link
Copy Markdown
Member

Summary

  • CLAUDE.md at project root: comprehensive framework guide covering architecture, path aliases, Biome style, environment variables, and patterns for every file type (commands, slash, listeners, buttons, cron, tables, namespaces)
  • .claude/commands/ (7 files): Claude Code slash commands (/add-command, /add-slash, /add-listener, /add-button, /add-cron, /add-table, /add-namespace) — each guides Claude to generate the correct file with proper imports, patterns, and Biome style
  • .cursor/rules/ (5 MDC files): Cursor AI rules scoped by glob — bot-ts, typescript-style, commands, database, listeners-and-events
  • .cursor/commands/ (7 files): thin wrappers that reference .claude/commands/ via @file syntax — no duplication, single source of truth

All documentation is derived from the official bot.ts docs at https://ghom.gitbook.io/bot-ts/.

Test plan

  • Verify /add-command in Claude Code generates a valid textual command file
  • Verify /add-slash in Claude Code generates a valid slash command file
  • Verify Cursor picks up .cursor/rules/ when editing src/**/*.ts
  • Verify Cursor commands resolve @.claude/commands/... references correctly

🤖 Generated with Claude Code

GhomKrosmonaute and others added 3 commits May 14, 2026 20:30
Add comprehensive documentation for Claude Code and Cursor AI assistants
to help developers scaffold bot.ts project files with correct patterns.

- CLAUDE.md: full framework guide (architecture, aliases, style, patterns)
- .claude/commands/: 7 slash commands (add-command, add-slash, add-listener,
  add-button, add-cron, add-table, add-namespace)
- .cursor/rules/: 5 MDC rule files (bot-ts, typescript-style, commands,
  database, listeners-and-events)
- .cursor/commands/: 7 thin wrappers referencing .claude/commands/ via @file

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
pnpm requires explicit approval for dependency build scripts via
pnpm.onlyBuiltDependencies. Also adds sqlite3 to trustedDependencies.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
pnpm v10+ stores build script approvals in pnpm-workspace.yaml
(via `pnpm approve-builds`), not in package.json. This allows
@biomejs/biome and sqlite3 to run their install scripts in CI.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@GhomKrosmonaute GhomKrosmonaute merged commit 31a36a0 into master May 14, 2026
6 checks passed
@GhomKrosmonaute GhomKrosmonaute deleted the claude/zen-booth-82883f branch May 14, 2026 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant